package com.api;

import com.common.Clue;
import com.common.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "clue-service", path = "/clues", fallback = ClueServiceApiFallback.class)
public interface ClueServiceApi {
    @PostMapping("/list")
    R list();
}
